package com.prosay.ioc.annotation;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Computer {
    
	@Autowired
	private ComputerSystem system;
	
	//@Autowired
	public Computer(ComputerSystem system){
		this.system = system;
	}
	
	//@Autowired
	public void setA(ComputerSystem system){
		this.system = system;
	}
}
